package com.ys.everydaynews.ui.main.fragment

import com.ys.everydaynews.R
import com.ys.everydaynews.base.BaseFragment
import com.ys.everydaynews.databinding.FragmentMinListBinding
import com.ys.everydaynews.mvp.presenter.BasePresenter
import com.ys.everydaynews.mvp.view.BaseView
import com.ys.everydaynews.ui.main.model.EventModel

class MinListFragment :BaseFragment<BaseView,BasePresenter<BaseView>,FragmentMinListBinding>() {
    override fun initView() {

    }

    override fun initData() {
    }

    override fun isRegister(): Boolean =true
    override fun getLayoutId(): Int = R.layout.fragment_min_list
    override fun createPersenter(): BasePresenter<BaseView> =BasePresenter()

    override fun <T> setData(data: T) {
    }

    override fun setError(err: String) {
    }

    override fun getMessage(message: EventModel<*>) {
        super.getMessage(message)
        if (message!= null){
            if (message.code==106){

            }
        }
    }
}